package com.umpay.dto.merAccess.req.bindcard;


import com.umpay.annotation.Pattern;
import com.umpay.dto.merAccess.req.CommonReq;
import org.hibernate.validator.constraints.NotEmpty;

/* ******************  类说明  *********************
 * class       :  AgreementOrderReq
 * @author     :  sxl
 * @date       :  2018年8月21日 下午6:21:36
 * @version    :  1.0  
 * description :  商业委托协议支付签约下单请求类
 * @see        :                        
 * ************************************************/   
public class AgreementOrderReq extends CommonReq{
	
	/**
	 * 商户订单号
	 */
	@NotEmpty(message = "商户订单号不能为空")
	@Pattern(message = "联动订单号格式不正确")
	private String order_id;
	
	/**
	 * 商户订单日期
	 */
	@NotEmpty(message = "商户订单日期不能为空")
	@Pattern(message = "商户订单日期格式不正确")
	private String mer_date;
	
	/**
	 * 商户会员编号
	 */
	@NotEmpty(message = "商户会员编号不能为空")
	@Pattern(message = "商户会员编号格式不正确")
	private String mer_cust_id;
	
	
	/**
	 * 卡号
	 */
	@NotEmpty(message = "卡号不能为空")
	@Pattern(message="卡号格式不正确")
	private String card_id;
	
	/**
	 * 姓名
	 */
	@NotEmpty(message = "姓名不能为空")
	@Pattern(message="姓名格式不正确")
	private String card_holder;
	
	/**
	 * 证件类型
	 */
	@NotEmpty(message = "证件类型不能为空")
	@Pattern(message="证件类型格式不正确")
	private String identity_type;
	
	/**
	 * 证件号
	 */
	@NotEmpty(message = "证件号不能为空")
	@Pattern(message="证件号格式不正确")
	private String 	identity_code;

	/**
	 * 银行预留手机号
	 */
	@NotEmpty(message = "银行预留手机号不能为空")
	@Pattern(message = "银行预留手机号格式不正确")
	private String bank_mobile_id;

	public String getOrder_id() {
		return order_id;
	}

	public void setOrder_id(String order_id) {
		this.order_id = order_id;
	}


	public String getMer_date() {
		return mer_date;
	}

	public void setMer_date(String mer_date) {
		this.mer_date = mer_date;
	}

	public String getMer_cust_id() {
		return mer_cust_id;
	}

	public void setMer_cust_id(String mer_cust_id) {
		this.mer_cust_id = mer_cust_id;
	}

	public String getCard_id() {
		return card_id;
	}

	public void setCard_id(String card_id) {
		this.card_id = card_id;
	}

	public String getCard_holder() {
		return card_holder;
	}

	public void setCard_holder(String card_holder) {
		this.card_holder = card_holder;
	}

	public String getIdentity_type() {
		return identity_type;
	}

	public void setIdentity_type(String identity_type) {
		this.identity_type = identity_type;
	}

	public String getIdentity_code() {
		return identity_code;
	}

	public void setIdentity_code(String identity_code) {
		this.identity_code = identity_code;
	}

	public String getBank_mobile_id() {
		return bank_mobile_id;
	}

	public void setBank_mobile_id(String bank_mobile_id) {
		this.bank_mobile_id = bank_mobile_id;
	}

	@Override
	public String toString() {
		return super.toString() +  "AgreementOrderReq [order_id=" + order_id + ", mer_date=" + mer_date + ", mer_cust_id=" + mer_cust_id + ", card_id=" + card_id 
				+ ", card_holder=" + card_holder + ", identity_type=" + identity_type + ", identity_code="
				+ identity_code + ", bank_mobile_id=" + bank_mobile_id  + "]";
	}
}
